{
	name:"Circle3P",
	draw(stepData,ctx){
		let {step,state} = stepData
		ctx.save()
		ctx.merge(state)
		let fp = step[0]
		let sp = step[1]
		let ep = step[2]

		let cp = Math.calcCircleCenter(step,state)
		// let cp = {
		// 	x:(fp.x+sp.x+ep.x)/2,
		// 	y:(fp.y+sp.y+ep.y)/2
		// }

			cp = fp.assign(cp)
		let r = Math.distance(cp,ep)
		this.circle(cp.assign({r}),ctx)
		if(ctx.ghost){
			this.point(cp.assign({r:fp.r}),ctx)
			this.point(fp,ctx)
			this.point(sp,ctx)
			this.point(ep,ctx)
		}
		ctx.restore()
	}
}